﻿@model Vcare.Models.Rates

@{
    ViewBag.Title = "Create";
}

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend style="width:500px;">Create Fee :  @ViewBag.CallCentre</legend>
        @Html.HiddenFor(m => m.CallCentreID)
        <div class="editor-label">
            <label>Description</label>
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(m => m.Description)
            @Html.ValidationMessageFor(model => model.CallCentreID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Fee)
        </div>
        <div class="editor-field">
            £@Html.EditorFor(model => model.Fee)
            @Html.ValidationMessageFor(model => model.Fee)
        </div>

        <div class="editor-label">
            <label>Period</label>
        </div>
        <div class="editor-field">
            <input type="radio" name="period" value="Annual">Annual<br />
            <input type="radio" name="period" value="Quarterly">Quarterly<br />
            <input type="radio" name="period" value="Monthly">Monthly
        </div>
        <div class="spacer"></div>
        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
